using System.Collections.Generic;

namespace OracleInternal.SqlAndPlsqlParser.LocalParsing
{
	internal class OracleLpColumnMappedQueryName
	{
		protected OracleLpName m_vName;

		protected List<OracleLpName> m_vColumnAliases;

		internal OracleLpName Name
		{
			get
			{
				return m_vName;
			}
			set
			{
				m_vName = value;
			}
		}

		internal List<OracleLpName> ColumnAliases => m_vColumnAliases;

		public void AddColumnAlias(string alias)
		{
			if (m_vColumnAliases == null)
			{
				m_vColumnAliases = new List<OracleLpName>(1);
			}
			m_vColumnAliases.Add(new OracleLpName(alias));
		}
	}
}
